<?php
session_start();
require_once '../includes/config.php';
require_once '../includes/database.php';
require_once '../includes/auth.php';

// 执行登出
$auth = getAuth();
$auth->logout();

// 重定向到登录页面
header('Location: login.php');
exit;
?>
